package cn.smart.epic.core.datascope;

import java.util.List;

/**
 * @Auther Uncle_Z
 * @date 2017/9/7 18:02
 * @Email:2545375@qq.com
 * @Descrition 数据范围
 * @since 1.0
 */

public class DataScope {

    private String scopeName = "deptId";

    private List<Integer> deptIds;

    public DataScope() {

    }

    public DataScope(List<Integer> deptids){
        this.deptIds = deptids;
    }

    public DataScope(String scopeName, List<Integer> deptIds) {
        this.scopeName = scopeName;
        this.deptIds = deptIds;
    }

    public String getScopeName() {
        return scopeName;
    }

    public void setScopeName(String scopeName) {
        this.scopeName = scopeName;
    }

    public List<Integer> getDeptids() {
        return deptIds;
    }

    public void setDeptids(List<Integer> deptids) {
        this.deptIds = deptids;
    }
}
